package com.psbc.springbootstudydemo1.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource(value = "classpath:pay.properties")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WXConfig {
    @Value("${wxpay.appid}")
    private String appid;
    @Value("${wxpay.secret}")
    private String secret;
}
